<!doctype html>
<html class="no-js">

	<head>
		<meta charset="utf-8"/>
		<title>个人博客</title>
		
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		<link rel="stylesheet" media="all" href="{{__PUBLIC__}}/Home/css/style.css"/>
		<meta name="viewport" content="width=device-width, initial-scale=1"/>
		
		{{include file="VIEW_PATH/Common/header.php"}}
		<div id="main">	
			<div class="wrapper clearfix">
				<!-- posts list -->
	        	<div id="posts-list">
	        		{{foreach from="$data" value="$v"}}<!--$data分配过来的是article文章表-->
					<article class="format-standard">
						<h2 class="page-heading"><span>{{$v['title']}}</span></h2>	
						<div class="entry-date"><div class="number" style="font-size: 31px;">{{date('Y',$v['sendtime'])}}</div><div class="year">{{date('m-d',$v['sendtime'])}}</div></div>
						<div>
							<a href="" style="font-size: 20px;">作者：</a>
									{{$v['author']}}
							<a href="" style="font-size: 20px;">分类：</a>
								<a href="list.html">{{$v['cname']}}</a><!--cname是category分类表-->
						</div>
						
						<div class="feature-image">
							<a href="" data-rel="prettyPhoto"><img src="{{__ROOT__}}/{{$v['thumb']}}" alt="Alt text" /></a>
						</div>
						
						<h5  class="post-heading"><a href="hp{{$v['aid']}}.html">阅读全文</a></h5>
						<!--{{U('Content/index',array('aid'=>$v['aid']))}}-->
						<div class="excerpt">{{$v['digest']}}</div>
						<!--<a href="single.html" class="read-more">continue &#8594;</a>-->
						<div class="meta">
							<!--<div class="categories">In <a href="#">Category 1</a>, <a href="#">Category 2</a></div>-->
							{{foreach from="$v['tag']" value="$vv"}}<!--$v['tag']是tag标签表-->
							<div class="comments"><a href="#">{{$vv}}</a></div>
							{{endforeach}}
							<!--<div class="user"><a href="#">By admin</a></div>-->
						</div>

					</article>
					{{endforeach}}
					
					<!-- page-navigation -->
					<div class="page-navigation clearfix">
    				<div class="nav-next">
    					<!--<a  href="#">&#8592; Older 进入 </a>-->
    				</div>
    				 
    				<div class="nav-previous">
    				    <!--<a href="#">Newer 进入 &#8594;</a>--> 

    				</div>
    				<!--ENDS page-navigation -->
    				 </div>
    			</div>
    			{{include file="VIEW_PATH/Common/right.php"}}
			</div>
	</div>
  	  {{include file="VIEW_PATH/Common/footer.php"}}
